package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient  //eureka client
@MapperScan(basePackages = "com.example.dao")  //dao层扫描
public class Menu {

    public static void main(String[] args) {
        SpringApplication.run(Menu.class,args);
    }
}
